<template>
    <el-button 
        :type="option.type || 'primary'" 
        :plain="option.plain || false" 
        :round="option.round || false" 
        :circle="option.circle || false" 
        :disabled="option.disabled || false" 
        :icon="option.icon" 
        @click="option.func"
        >
        {{option.text}}
    </el-button>
</template>
<script>
export default {
    name: 'iv-button',
    props: {
        option: {
            type: Object,
            default: () => {}
        }
    }
}
</script>
